package com.sbtr.business.feature.service;

import com.sbtr.business.feature.entity.FePcaRule;
import com.sbtr.business.feature.dto.FePcaRuleDto;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
import com.sbtr.common.PageDto;

import java.util.List;

/**
 * 主成分分析规则字段列表 Service接口
 *
 * @author dgl
 * @since  2023-05-08
 */
public interface FePcaRuleService extends IService<FePcaRule> {

     PageDto<FePcaRule> pageList(FePcaRuleDto FePcaRuleDto);


     /**
      * 调用Python端的（模型训练服务）进行计算PCA结果
      * @param list
      * @param cum_var
      * @param trainServerIpId
      * @return
      */
     public String exePythonPCA(List<List<String>> list, String cum_var, String trainServerIpId);
}
